Namespace - LJCNetCommon
Parameters
text - The add text.
Returns
The potentially indented new text value.
Syntax
C# |
public String GetIndented(String text)
|
Gets a new potentially indented line.
Example
C# |
var hb = new HTMLBuilder();
var result = hb.GetIndented("This text is NOT indented.");
hb.AddText(result);
hb.AddIndent(2);
hb.AddLine();
result = hb.GetIndented("This text is indented.");
hb.AddText(result);
result = hb.ToString();
|
Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.